package homework.polyfinally.coding;

public class Bear extends Animal implements IAct{
    private String color ;

    public Bear(String name, int age,String color) {
        super(name, age);
        this.setColor(color);
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public void love() {
        System.out.println("bear love");

    }

    @Override
    public void skill() {
        System.out.println("bear skill");

    }

    @Override
    public void act() {
        System.out.println("bear act");

    }
}
